<extend name='Public/demo' />

<block name='contents'>

	 <div class="row">

		<aside class="profile-info col-lg-offset-1 col-lg-10">
			<section class="panel">
				<header class="panel-heading">添加管理员用户...</header>
				<div class="panel-body">
					<div class="form">
						<form class="cmxform form-horizontal tasi-form" id="signupForm" method="post" action="{:U('insert')}" novalidate="novalidate" enctype="multipart/form-data" >

							<div class="form-group ">
								<label  class="control-label col-lg-1">用户名</label>
								<div class="col-lg-10">
									<input class=" form-control"  name="username" type="text" placeholder="用户名"></div>
							</div>
							<div class="form-group ">
								<label  class="control-label col-lg-1">密码</label>
								<div class="col-lg-10">
									<input class=" form-control"  name="password" type="password" placeholder="密码">
								</div>
							</div>
					

							<div class="form-group ">
								<label  class="control-label col-lg-1">昵称</label>
								<div class="col-lg-10" >
									<input class=" form-control"  name="admin_name" type="text" placeholder="昵称"></div>
							</div>

							<div class="form-group ">
								<label class="control-label col-lg-1" for="inputSuccess">管理组</label>
								<div class="col-lg-10">
									<select class="form-control m-bot15" name="group_id">
										<foreach name="group_list" item="vo">
											<option value="{$vo.id}">{$vo.title}</option>
										</foreach>
									</select>
								</div>
							</div>

							<div class="form-group">
								<div class="col-lg-offset-2 col-lg-10">
									<button class="btn btn-danger" type="submit">保存</button>
									<button class="btn btn-default" type="reset">取消</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</section>
		</aside>
	 </div>
</block>